<?php

include('atributosComuns.class.php');


/**
 * Description of option
 *
 * @author User
 */


class Option extends AtributosComuns{

    public $atributos = array_merge($this->atributos,array('disabled'=>null,
                            'label'=>null,
                            'selected'=>null,
                            'value'=>null));


        public function show(){

            echo '<option 
                  class="'.$this->class.'"
                  dir="'.$this->dir.'"
                  id="'.$this->id.'"
                  style="'.$this->style.'"
                  title="'.$this->title.'"
                  xmlLang="'.$this->xmlLang.'"
                  xmlSpace="'.$this->xmlSpace.'"
                  onBlur="'.$this->onBlur.'"
                  onChange="'.$this->OnChange.'"
                  onClick="'.$this->onClick.'"
                  onDblClick="'.$this->onDblClick.'"
                  onFocus="'.$this->onFocus.'"
                  onKeyDown="'.$this->onKeyDown.'"
                  onKeyUp="'.$this->onKeyUp.'"
                  onKeyPress="'.$this->onKeyPress.'"
                  onMouseDown="'.$this->onMouseDown.'"
                  onMouseMove="'.$this->onMouseMove.'"
                  onMouseOut="'.$this->onMouseOut.'"
                  onMouseOver="'.$this->onMouseOver.'"
                  onMouseUp="'.$this->onMouseUp.'"
                  onSelect="'.$this->onSelect.'"
                  disabled="'.$this->disabled.'"
                  label="'.$this->label.'"
                  selected="'.$this->selected.'"
                  value="'.$this->value.'"/>';

        }


        public function __construct($id = "",
                                    $value = ""){
                                            $this->id = $id;
                                            $this->vlue = $value;
                                    }
}

?>
